package com.todod.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.todod.entity.QueryEntry;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.todod.dto.ApprovalCommentsDto;
import com.todod.model.ApprovalComments;

/**
 * @author lql
 * @date 2020年12月25日
 */
public interface ApprovalCommentsMapper extends BaseMapper<ApprovalComments> {

	List<ApprovalCommentsDto> getList(@Param("userId") Long userId);

	ApprovalCommentsDto getInfo(@Param("code") Long code);

	IPage<ApprovalCommentsDto> getListPage(Page<ApprovalCommentsDto> page, @Param("queryEntry") QueryEntry queryEntry);

}
